 2 (    )

   
    20 ,     20  (+\-10)

i=i+20        ;
if i>360      ;   360 
   i=0        ; 
endif
ScanRadar(i)   ;
(      ,        )
    enemy

if enemy<>0     ;     (   )                          
  if target%=0  ;      0
   target%=enemy   ;     
  endif
endif

 

if target<>0                         ;   
  dist_t=EntityDistance(corpus%,target) ;  
  ppr=dist_t#/800                       ;    
   turnturret=deltayaw(turret,target)   ;    
   if abs(turnturret)<10                ;      
     turngun=deltapitch(gun,target)-ppr ; \    
     if abs(turngun)<2                  ;   
       fire1=1                          ;  !
     endif
   endif

   if rockets>0                          ;   
     if dist_t>500                       ;    50 
      TurnCorpus=deltayaw(corpus%,target);   
     endif
   endif

   if dist_t<600                         ;   60 
     fire2=1                             ;  
   endif
endif

    ,     .
.  . 
     ,   . 
    .
